Skip to content

Force disable parallel font enumeration to reduce startup crashes#34

Merged
noahc3 merged 2 commits intomainfrom
improve-startup-stability
Apr 6, 2026
Merged

Force disable parallel font enumeration to reduce startup crashes#34
noahc3 merged 2 commits intomainfrom
improve-startup-stability

Conversation

@noahc3
Copy link
Copy Markdown
Owner

@noahc3 noahc3 commented Apr 5, 2026

Force disable parallel font enumeration, significantly reducing the number of crashes with code -1073741819 (0xC0000005). It does not fully resolve them, but startup crashes are now rare rather than common.

  • This is an option built-in to Affinity by passing a CLI argument. This patch enables it by default.
  • In theory this extends load times on systems with lots of fonts. Given most Linux distros do not ship with hundreds of fonts like Windows does, most users likely won't notice a difference.
  • Users can toggle this patch off in APL settings if they do find it significantly slows down startup for them.
  • Unsure why this helps, should investigate further in the future. Crash occurs during font enumeration ("Loading fonts" indicator on splash card) somewhere in libkernel.dll

Resolves #26

@noahc3 noahc3 self-assigned this Apr 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

🚀 Build Artifacts Ready

Commit: d8b90b6
Build Workflow: View Run

📦 Direct Downloads (via nightly.link):

@noahc3 noahc3 added winefix wf-patch For bugs that we'd like to patch in WineFix labels Apr 5, 2026
@noahc3 noahc3 changed the title Improve startup stability General system stability improvements to enhance the user's experience Apr 5, 2026
@noahc3 noahc3 changed the title General system stability improvements to enhance the user's experience Force disable parallel font enumeration to reduce startup crashes Apr 5, 2026
@noahc3 noahc3 force-pushed the improve-startup-stability branch from 0626335 to 47b6f55 Compare April 6, 2026 02:43
@noahc3 noahc3 merged commit e0639a2 into main Apr 6, 2026
4 checks passed
@noahc3 noahc3 deleted the improve-startup-stability branch April 6, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wf-patch For bugs that we'd like to patch in WineFix winefix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Latest Affinity (3.0.3.4027) crashes when APL is used

1 participant